package com.sunni.mapper;

import com.sunni.entity.Permission;
import java.util.List;

public interface PermissionMapper {
    int deleteByPrimaryKey(Long pid);

    int insert(Permission record);

    Permission selectByPrimaryKey(Long pid);

    List<Permission> selectAll();

    int updateByPrimaryKey(Permission record);

    /*角色权限datagrid 数据回显*/
    List<Permission> selectAllByRid(Long rid);
}